package com.etoak.service;

import com.etoak.common.core.vo.PageVO;
import com.etoak.entity.Ingredients;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

    /**
     *  服务类
     */
public interface IngredientsService extends IService<Ingredients> {

    void add(Ingredients ingredients);

    /**
     * 查询菜品列表
     */
    List<Ingredients> getList(Ingredients ingredients);

    /**
     * 分页查询
     */
    PageVO<Ingredients> listPage(int pageNum, int pageSize, Ingredients ingredients);

        void update(int id, Ingredients ingredients);

        void delete(int id);
    }
